﻿<%@ Page Title="工事参照" Language="vb" AutoEventWireup="false" MasterPageFile="../CM/Dialog.Master"
    CodeBehind="UT0100P01.aspx.vb" Inherits="Tohto.UT0100P01" %>

<%@ Register Assembly="Tohto.Base.CustomControl" Namespace="Tohto.Base.CustomControl" 
    TagPrefix="cc10" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Assembly="FarPoint.Web.SpreadJ" Namespace="FarPoint.Web.Spread" TagPrefix="FarPoint" %>
<%@ Import Namespace="Tohto.Base.CommonConst" %>
<asp:Content ID="Content1" ContentPlaceHolderID="DialogContent" runat="server">
    <script type="text/javascript">
        $(document).ready(function () {
            DoReady();
        });

        function DoReady() {
            $("#<%=tantocd.ClientId %>").attr("readonly", "readonly");
            $("#<%=tantonm.ClientId %>").attr("readonly", "readonly");
        }

        /* 画面クリア */
        function PageClear() {
            if (ShowMsgDialog("CMQ0005", '', '', '', '') == true) {
                return true;
            } else {
                return false;
            }
        }

        /* 担当者をクリア */
        function TantoClear() {
            $("#<%=tantocd.ClientId %>").val("");
            $("#<%=tantonm.ClientId %>").val("");
            return false;
        }


        /* 担当者参照 */
        function TantoSansyo() {
            var topostcd = $("#<%=tantopostcd.ClientId %>").val();
            var topostnm = $("#<%=tantopostcd.ClientId %>").val();
            var returnValue = ShowMDialog("../UT/UT0060P01.aspx?<%=ComConst.QUERY_POST_CD %>=" + encodeURIComponent(topostcd) + "&post_nm=" + encodeURIComponent(topostnm), dialog_tantosya);

            if (returnValue != null) {
                $("#<%=tantocd.ClientId %>").val(returnValue.code);
                $("#<%=tantonm.ClientId %>").val(returnValue.name);
                return false;
            } else {
                return false;
            }
        }

        function BukkenCheck() {

            var returnObj = new Object();

            var spread = document.getElementById("<%=spd_Bukken.ClientId%>");
            var row;
            var col;
            if (document.all) {
                row = spread.ActiveRow;
                col = spread.ActiveCol;
            }
            else {
                row = spread.GetActiveRow();
                col = spread.GetActiveCol();
            }
            if (row == -1 || col == -1) {
                SetErrorArea("CME0061", '', '', '', '');
                $("#<%=txt_koji_no.ClientId %>").focus();
                return false;
            }
            var kojino = spread.GetValue(row, 0);
            var kojinm = spread.GetValue(row, 1);
            var kojikbnm = spread.GetValue(row, 2);
            var kojistnm = spread.GetValue(row, 3);
            var articlecd = spread.GetValue(row, 4);
            var articlenm = spread.GetValue(row, 5);
            var roomcd = spread.GetValue(row, 6);
            var roomnm = spread.GetValue(row, 7);
            var ownercd = spread.GetValue(row, 8);
            var ownernm = spread.GetValue(row, 9);
            var contracd = spread.GetValue(row, 10);
            var contranm = spread.GetValue(row, 11);
            var custcd = spread.GetValue(row, 12);
            var custnm = spread.GetValue(row, 13);

            returnObj.kojino = kojino;
            returnObj.kojinm = kojinm;
            returnObj.kojikbnm = kojikbnm;
            returnObj.kojistnm = kojistnm;
            returnObj.articlecd = articlecd;
            returnObj.articlenm = articlenm;
            returnObj.roomcd = roomcd;
            returnObj.roomnm = roomnm;
            returnObj.ownercd = ownercd;
            returnObj.ownernm = ownernm;
            returnObj.contracd = contracd;
            returnObj.contranm = contranm;
            returnObj.custcd = custcd;
            returnObj.custnm = custnm;

            window.returnValue = returnObj;
            window.close();
        }

        function formatcheck() {
            var koji_no = $("#<%=txt_koji_no.ClientId%>");
            var article_cd = $("#<%=txt_article_cd.ClientId%>");
            var dtf = $("#<%=dtfrom.ClientId%>");
            var dtt = $("#<%=dtto.ClientId%>");

            if ((!checkNull(koji_no.val())) && (!isNum(koji_no.val()))) {
                SetErrorArea("CME0059", '工事No.', '数字', '', '');
                koji_no.focus();
                koji_no.addClass("errorRed");
                return false;
            }
            if ((!checkNull(article_cd.val())) && (!isNum(article_cd.val()))) {
                SetErrorArea("CME0059", '物件CD', '数字', '', '');
                article_cd.focus();
                article_cd.addClass("errorRed");
                return false;
            }
            if ((!checkNull(dtf.val())) && (!validateDate(dtf.val()))) {
                SetErrorArea("CME0059", '工事案件完了日', 'yyyy/mm/dd', '', '');
                dtf.focus();
                dtf.addClass("errorRed");
                return false;
            }
            if ((!checkNull(dtt.val())) && (!validateDate(dtt.val()))) {
                SetErrorArea("CME0059", '工事案件完了日', 'yyyy/mm/dd', '', '');
                dtt.focus();
                dtt.addClass("errorRed");
                return false;
            }

            if (dtf.val() > dtt.val()) {
                SetErrorArea("CME0033", '', '', '', '');
                dtf.focus();
                dtf.addClass("errorRed");
                dtf.addClass("errorRed");
                return false;
            }

            return true;
        }
    </script>
    <div id="main" class="ut0100p01_mark_place ut0100p01_whloeDiv">
        <div id="submain">
            <table id="write_zone">
                <tr>
                    <td class="ut0100p01_write_label border_top">
                        工事No.
                    </td>
                    <td class="ut0100p01_5base border_top border_right white_td">
                        <asp:TextBox ID="txt_koji_no" CssClass="ut0100p01_KOJI_NO ime_disabled" runat="server" MaxLength="30"
                            TabIndex="1" Text="9999999999"></asp:TextBox>
                    </td>
                    <td class="ut0100p01_1base  noborder_left noborder_bottom">
                    </td>
                    <td class="ut0100p01_3base  noborder_left noborder_bottom">
                    </td>
                    <td class="ut0100p01_2base  noborder_left noborder_bottom">
                    </td>
                    <td class="ut0100p01_1base  noborder_left noborder_bottom">
                    </td>
                    <td class="ut0100p01_1base  noborder_left noborder_bottom">
                    </td>
                    <td class="ut0100p01_1base  noborder_left noborder_bottom">
                    </td>
                    <td class="ut0100p01_1base  noborder_left noborder_bottom">
                    </td>
                    <td class="ut0100p01_1base  noborder_left noborder_bottom">
                    </td>
                    <td class="ut0100p01_1base  noborder_left noborder_bottom">
                    </td>
                    <td class="ut0100p01_1base  noborder_left noborder_bottom">
                    </td>
                    <td class="ut0100p01_2base  noborder_left noborder_bottom">
                    </td>
                </tr>
                <tr>
                    <td class="label_background">
                        工事名
                    </td>
                    <td class="border_right border_top white_td " colspan="6">
                        <asp:TextBox ID="txt_koji_nm" CssClass="ut0100p01_KOJI_NM ime_active" runat="server"
                            MaxLength="30" TabIndex="3" Text="ＮＮＮＮＮＮ25ＮＮＮＮＮＮ" />
                    </td>
                </tr>
                <tr>
                    <td class="label_background">
                        工事区分
                    </td>
                    <td class="border_right white_td" colspan="2">
                        <cc10:ReadOnlyDropDownList CssClass="ut0100p01_KOJI_KB_combo" ID="kojikb_drop" runat="server"
                            TabIndex="5">
                            <asp:ListItem Value="0"></asp:ListItem>
                            <asp:ListItem Value="1">1111111</asp:ListItem>
                            <asp:ListItem Value="2">2222222</asp:ListItem>
                        </cc10:ReadOnlyDropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="label_background" style="height: 19px">
                        工事案件状態
                    </td>
                    <td class="border_right white_td" colspan="2" style="height: 19px">
                        <cc10:ReadOnlyDropDownList CssClass="ut0100p01_KOJI_ST_combo" ID="kojist_drop" runat="server"
                            TabIndex="7">
                            <asp:ListItem Value="0"></asp:ListItem>
                            <asp:ListItem Value="1">手動</asp:ListItem>
                            <asp:ListItem Value="2">自動</asp:ListItem>
                        </cc10:ReadOnlyDropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="label_background">
                        物件CD
                    </td>
                    <td class="border_right border_top">
                        <asp:TextBox ID="txt_article_cd" runat="server" CssClass="ut0100p01_ARTICLE_CD ime_disabled"
                            BorderStyle="none" TabIndex="9" MaxLength="8" Text="9999999999"></asp:TextBox>
                    </td>
                    <td class="noborder_bottom noborder_left" colspan="11">
                    </td>
                </tr>
                <tr>
                    <td class="label_background">
                        物件名(カナ)
                    </td>
                    <td class="border_right border_top white_td" colspan="12">
                        <asp:TextBox ID="article_nm" CssClass="ut0100p01_ARTICLE_NM ime_active" runat="server"
                            MaxLength="50" TabIndex="11" Text="ＮＮＮＮＮＮＮＮＮＮ50ＮＮＮＮＮＮＮＮＮＮ" />
                    </td>
                </tr>
                <tr>
                    <td class="label_background">
                        工事案件完了日
                    </td>
                    <td class="border_right white_td">
                        <asp:TextBox CssClass="ut0100p01_DT_TEXT" ID="dtfrom" runat="server" MaxLength="8"
                            Text="2011/11/01" TabIndex="13"> </asp:TextBox>
                        <ajaxToolkit:CalendarExtender CssClass="MyCalendar" ID="txtTest_CalendarExtender"
                            runat="server" DaysModeTitleFormat="yyyy/MM/dd" Enabled="True" Format="yyyy/MM/dd"
                            PopupButtonID="dt_from_btn" TargetControlID="dtfrom" TodaysDateFormat="yyyy年MM月dd日">
                        </ajaxToolkit:CalendarExtender>
                    </td>
                    <td class="border_right">
                        <asp:Button CssClass="calendar_button" TabIndex="15" ID="dt_from_btn" runat="server" />
                    </td>
                    <td class="ut0100_waveDash noborder_bottom">
                        ～
                    </td>
                    <td class="border_right white_td" colspan="4">
                        <asp:TextBox CssClass="ut0100p01_DT_TEXT" ID="dtto" runat="server" MaxLength="8"
                            Text="2011/11/01" TabIndex="17"> </asp:TextBox>
                        <ajaxToolkit:CalendarExtender CssClass="MyCalendar" ID="CalendarExtender1" runat="server"
                            DaysModeTitleFormat="yyyy/MM/dd" Enabled="True" Format="yyyy/MM/dd" PopupButtonID="dt_to_btn"
                            TargetControlID="dtto" TodaysDateFormat="yyyy年MM月dd日">
                        </ajaxToolkit:CalendarExtender>
                    </td>
                    <td class="border_bottom border_right">
                        <asp:Button CssClass="calendar_button" TabIndex="19" ID="dt_to_btn" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td class="label_background">
                        工事担当部署
                    </td>
                    <td class=" border_top border_right white_td" colspan="5">
                        <cc10:ReadOnlyDropDownList CssClass="ut0100p01_POST_CD" ID="tantopostcd" runat="server"
                            TabIndex="21">
                            <asp:ListItem Value="0"></asp:ListItem>
                            <asp:ListItem Value="1">1111111</asp:ListItem>
                            <asp:ListItem Value="2">2222222</asp:ListItem>
                        </cc10:ReadOnlyDropDownList>
                    </td>
                    <td class="noborder_left no_border_bottom" colspan="6">
                    </td>
                </tr>
                <tr>
                    <td class="label_background">
                        工事担当者
                    </td>
                    <td class="border_right white_td">
                        <asp:TextBox CssClass="ut0100p01_EMP_CD" ID="tantocd" runat="server" TabIndex="23"
                            Text="9999999999"></asp:TextBox>
                    </td>
                    <td class="border_righ border_top white_td" colspan="8">
                        <asp:TextBox CssClass="ut0100p01_EMP_nm" ID="tantonm" runat="server" TabIndex="25"
                            Text="ＮＮＮＮ１０ＮＮＮＮ"></asp:TextBox>
                    </td>
                    <td class="border_top">
                        <asp:Button CssClass="select_button" TabIndex="27" ID="searchwindow" runat="server"
                            OnClientClick="return TantoSansyo();" />
                    </td>
                    <td class="border_top">
                        <asp:Button CssClass="clear_button" Text="C" TabIndex="29" ID="clearbutton" runat="server"
                            OnClientClick="return TantoClear();" />
                    </td>
                </tr>
            </table>
        </div>
        <div id="button_main" class="button_float_right ut0100p01_btn_position">
            <div id="button_main_search">
                <asp:Button ID="btn_search" TabIndex="33" runat="server" Text="検索" OnClientClick="return formatcheck();" />
            </div>
            <div id="button_main_clear" class="ut0020p02_btnclear">
                <asp:Button ID="btn_clear" TabIndex="31" runat="server" Text="クリア" OnClientClick="return PageClear();"/>
            </div>
        </div>
        <div id="details" class="ut0010div_Under">
            <FarPoint:FpSpread ID="spd_Bukken" runat="server" BorderColor="Black" BorderStyle="Solid"
                BorderWidth="1px" Height="109px" Width="491px" ActiveSheetViewIndex="0" currentPageIndex="0"
                
                
                DesignString="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;&lt;Spread /&gt;">
                <CommandBar BackColor="Control" ButtonFaceColor="Control" ButtonHighlightColor="ControlLightLight"
                    ButtonShadowColor="ControlDark" Visible="False">
                    <Background BackgroundImageUrl="SPREADCLIENTPATH:/img/cbbg.gif"></Background>
                </CommandBar>
                <Pager Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                    Font-Underline="False" />
                <HierBar Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                    Font-Underline="False" />
                <Sheets>
                    <FarPoint:SheetView SheetName="Sheet1" DesignString="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;&lt;Sheet&gt;&lt;Data&gt;&lt;RowHeader class=&quot;FarPoint.Web.Spread.Model.DefaultSheetDataModel&quot; rows=&quot;3&quot; columns=&quot;1&quot;&gt;&lt;AutoCalculation&gt;True&lt;/AutoCalculation&gt;&lt;AutoGenerateColumns&gt;True&lt;/AutoGenerateColumns&gt;&lt;ReferenceStyle&gt;A1&lt;/ReferenceStyle&gt;&lt;Iteration&gt;False&lt;/Iteration&gt;&lt;MaximumIterations&gt;1&lt;/MaximumIterations&gt;&lt;MaximumChange&gt;0.001&lt;/MaximumChange&gt;&lt;/RowHeader&gt;&lt;ColumnHeader class=&quot;FarPoint.Web.Spread.Model.DefaultSheetDataModel&quot; rows=&quot;1&quot; columns=&quot;14&quot;&gt;&lt;AutoCalculation&gt;True&lt;/AutoCalculation&gt;&lt;AutoGenerateColumns&gt;True&lt;/AutoGenerateColumns&gt;&lt;ReferenceStyle&gt;A1&lt;/ReferenceStyle&gt;&lt;Iteration&gt;False&lt;/Iteration&gt;&lt;MaximumIterations&gt;1&lt;/MaximumIterations&gt;&lt;MaximumChange&gt;0.001&lt;/MaximumChange&gt;&lt;Cells&gt;&lt;Cell row=&quot;0&quot; column=&quot;0&quot;&gt;&lt;Data type=&quot;System.String&quot;&gt;工事No.&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;1&quot;&gt;&lt;Data type=&quot;System.String&quot;&gt;工事名&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;2&quot;&gt;&lt;Data type=&quot;System.String&quot;&gt;工事区分&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;3&quot;&gt;&lt;Data type=&quot;System.String&quot;&gt;工事案件状態名&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;4&quot;&gt;&lt;Data type=&quot;System.String&quot;&gt;物件CD&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;5&quot;&gt;&lt;Data type=&quot;System.String&quot;&gt;物件名&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;6&quot;&gt;&lt;Data type=&quot;System.String&quot;&gt;部屋CD&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;7&quot;&gt;&lt;Data type=&quot;System.String&quot;&gt;部屋名&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;8&quot;&gt;&lt;Data type=&quot;System.String&quot;&gt;オーナーCD&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;9&quot;&gt;&lt;Data type=&quot;System.String&quot;&gt;オーナー名&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;10&quot;&gt;&lt;Data type=&quot;System.String&quot;&gt;契約者CD&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;11&quot;&gt;&lt;Data type=&quot;System.String&quot;&gt;契約者名&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;12&quot;&gt;&lt;Data type=&quot;System.String&quot;&gt;入居者CD&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;13&quot;&gt;&lt;Data type=&quot;System.String&quot;&gt;入居者名&lt;/Data&gt;&lt;/Cell&gt;&lt;/Cells&gt;&lt;/ColumnHeader&gt;&lt;DataArea class=&quot;FarPoint.Web.Spread.Model.DefaultSheetDataModel&quot; rows=&quot;3&quot; columns=&quot;14&quot;&gt;&lt;AutoCalculation&gt;True&lt;/AutoCalculation&gt;&lt;AutoGenerateColumns&gt;True&lt;/AutoGenerateColumns&gt;&lt;ReferenceStyle&gt;A1&lt;/ReferenceStyle&gt;&lt;Iteration&gt;False&lt;/Iteration&gt;&lt;MaximumIterations&gt;1&lt;/MaximumIterations&gt;&lt;MaximumChange&gt;0.001&lt;/MaximumChange&gt;&lt;SheetName&gt;Sheet1&lt;/SheetName&gt;&lt;/DataArea&gt;&lt;SheetCorner class=&quot;FarPoint.Web.Spread.Model.DefaultSheetDataModel&quot; rows=&quot;1&quot; columns=&quot;1&quot;&gt;&lt;AutoCalculation&gt;True&lt;/AutoCalculation&gt;&lt;AutoGenerateColumns&gt;True&lt;/AutoGenerateColumns&gt;&lt;ReferenceStyle&gt;A1&lt;/ReferenceStyle&gt;&lt;Iteration&gt;False&lt;/Iteration&gt;&lt;MaximumIterations&gt;1&lt;/MaximumIterations&gt;&lt;MaximumChange&gt;0.001&lt;/MaximumChange&gt;&lt;/SheetCorner&gt;&lt;ColumnFooter class=&quot;FarPoint.Web.Spread.Model.DefaultSheetDataModel&quot; rows=&quot;1&quot; columns=&quot;14&quot;&gt;&lt;AutoCalculation&gt;True&lt;/AutoCalculation&gt;&lt;AutoGenerateColumns&gt;True&lt;/AutoGenerateColumns&gt;&lt;ReferenceStyle&gt;A1&lt;/ReferenceStyle&gt;&lt;Iteration&gt;False&lt;/Iteration&gt;&lt;MaximumIterations&gt;1&lt;/MaximumIterations&gt;&lt;MaximumChange&gt;0.001&lt;/MaximumChange&gt;&lt;/ColumnFooter&gt;&lt;/Data&gt;&lt;Presentation&gt;&lt;AxisModels&gt;&lt;Column class=&quot;FarPoint.Web.Spread.Model.DefaultSheetAxisModel&quot; orientation=&quot;Horizontal&quot; count=&quot;14&quot;&gt;&lt;Items&gt;&lt;Item index=&quot;-1&quot;&gt;&lt;SortIndicator&gt;Ascending&lt;/SortIndicator&gt;&lt;/Item&gt;&lt;Item index=&quot;0&quot;&gt;&lt;Size&gt;69&lt;/Size&gt;&lt;/Item&gt;&lt;Item index=&quot;1&quot;&gt;&lt;Size&gt;131&lt;/Size&gt;&lt;/Item&gt;&lt;Item index=&quot;2&quot;&gt;&lt;Size&gt;68&lt;/Size&gt;&lt;/Item&gt;&lt;Item index=&quot;3&quot;&gt;&lt;Size&gt;108&lt;/Size&gt;&lt;/Item&gt;&lt;Item index=&quot;4&quot;&gt;&lt;Size&gt;68&lt;/Size&gt;&lt;/Item&gt;&lt;Item index=&quot;5&quot;&gt;&lt;Size&gt;133&lt;/Size&gt;&lt;/Item&gt;&lt;Item index=&quot;6&quot;&gt;&lt;Size&gt;79&lt;/Size&gt;&lt;/Item&gt;&lt;Item index=&quot;7&quot;&gt;&lt;Size&gt;137&lt;/Size&gt;&lt;/Item&gt;&lt;Item index=&quot;8&quot;&gt;&lt;Size&gt;78&lt;/Size&gt;&lt;/Item&gt;&lt;Item index=&quot;9&quot;&gt;&lt;Size&gt;152&lt;/Size&gt;&lt;/Item&gt;&lt;Item index=&quot;11&quot;&gt;&lt;Size&gt;180&lt;/Size&gt;&lt;/Item&gt;&lt;Item index=&quot;13&quot;&gt;&lt;Size&gt;180&lt;/Size&gt;&lt;/Item&gt;&lt;/Items&gt;&lt;/Column&gt;&lt;RowHeaderColumn class=&quot;FarPoint.Web.Spread.Model.DefaultSheetAxisModel&quot; defaultSize=&quot;20&quot; orientation=&quot;Horizontal&quot; count=&quot;1&quot;&gt;&lt;Items&gt;&lt;Item index=&quot;-1&quot;&gt;&lt;SortIndicator&gt;Ascending&lt;/SortIndicator&gt;&lt;Size&gt;20&lt;/Size&gt;&lt;/Item&gt;&lt;/Items&gt;&lt;/RowHeaderColumn&gt;&lt;ColumnHeaderRow class=&quot;FarPoint.Web.Spread.Model.DefaultSheetAxisModel&quot; defaultSize=&quot;22&quot; orientation=&quot;Vertical&quot; count=&quot;1&quot;&gt;&lt;Items&gt;&lt;Item index=&quot;-1&quot;&gt;&lt;Size&gt;22&lt;/Size&gt;&lt;/Item&gt;&lt;/Items&gt;&lt;/ColumnHeaderRow&gt;&lt;ColumnFooterRow class=&quot;FarPoint.Web.Spread.Model.DefaultSheetAxisModel&quot; defaultSize=&quot;22&quot; orientation=&quot;Vertical&quot; count=&quot;1&quot;&gt;&lt;Items&gt;&lt;Item index=&quot;-1&quot;&gt;&lt;Size&gt;22&lt;/Size&gt;&lt;/Item&gt;&lt;/Items&gt;&lt;/ColumnFooterRow&gt;&lt;/AxisModels&gt;&lt;StyleModels&gt;&lt;RowHeader class=&quot;FarPoint.Web.Spread.Model.DefaultSheetStyleModel&quot; Rows=&quot;3&quot; Columns=&quot;1&quot;&gt;&lt;AltRowCount&gt;2&lt;/AltRowCount&gt;&lt;DefaultStyle class=&quot;FarPoint.Web.Spread.NamedStyle&quot; Parent=&quot;RowHeaderDefault&quot; /&gt;&lt;ConditionalFormatCollections /&gt;&lt;/RowHeader&gt;&lt;ColumnHeader class=&quot;FarPoint.Web.Spread.Model.DefaultSheetStyleModel&quot; Rows=&quot;1&quot; Columns=&quot;14&quot;&gt;&lt;AltRowCount&gt;2&lt;/AltRowCount&gt;&lt;DefaultStyle class=&quot;FarPoint.Web.Spread.NamedStyle&quot; Parent=&quot;ColumnHeaderDefault&quot;&gt;&lt;Background class=&quot;FarPoint.Web.Spread.Background&quot;&gt;&lt;BackgroundImageUrl&gt;SPREADCLIENTPATH:/img/chbg.gif&lt;/BackgroundImageUrl&gt;&lt;SelectedBackgroundImageUrl&gt;SPREADCLIENTPATH:/img/chm.png&lt;/SelectedBackgroundImageUrl&gt;&lt;/Background&gt;&lt;/DefaultStyle&gt;&lt;CellStyles&gt;&lt;CellStyle Row=&quot;0&quot; Column=&quot;0&quot;&gt;&lt;c class=&quot;FarPoint.Web.Spread.LabelCellType&quot;&gt;&lt;l /&gt;&lt;/c&gt;&lt;v&gt;Middle&lt;/v&gt;&lt;/CellStyle&gt;&lt;CellStyle Row=&quot;0&quot; Column=&quot;1&quot;&gt;&lt;c class=&quot;FarPoint.Web.Spread.LabelCellType&quot;&gt;&lt;l /&gt;&lt;/c&gt;&lt;v&gt;Middle&lt;/v&gt;&lt;/CellStyle&gt;&lt;CellStyle Row=&quot;0&quot; Column=&quot;2&quot;&gt;&lt;c class=&quot;FarPoint.Web.Spread.LabelCellType&quot;&gt;&lt;l /&gt;&lt;/c&gt;&lt;v&gt;Middle&lt;/v&gt;&lt;/CellStyle&gt;&lt;CellStyle Row=&quot;0&quot; Column=&quot;3&quot;&gt;&lt;c class=&quot;FarPoint.Web.Spread.LabelCellType&quot;&gt;&lt;l /&gt;&lt;/c&gt;&lt;v&gt;Middle&lt;/v&gt;&lt;/CellStyle&gt;&lt;CellStyle Row=&quot;0&quot; Column=&quot;4&quot;&gt;&lt;c class=&quot;FarPoint.Web.Spread.LabelCellType&quot;&gt;&lt;l /&gt;&lt;/c&gt;&lt;v&gt;Middle&lt;/v&gt;&lt;/CellStyle&gt;&lt;CellStyle Row=&quot;0&quot; Column=&quot;5&quot;&gt;&lt;c class=&quot;FarPoint.Web.Spread.LabelCellType&quot;&gt;&lt;l /&gt;&lt;/c&gt;&lt;v&gt;Middle&lt;/v&gt;&lt;/CellStyle&gt;&lt;CellStyle Row=&quot;0&quot; Column=&quot;6&quot;&gt;&lt;c class=&quot;FarPoint.Web.Spread.LabelCellType&quot;&gt;&lt;l /&gt;&lt;/c&gt;&lt;v&gt;Middle&lt;/v&gt;&lt;/CellStyle&gt;&lt;CellStyle Row=&quot;0&quot; Column=&quot;7&quot;&gt;&lt;c class=&quot;FarPoint.Web.Spread.LabelCellType&quot;&gt;&lt;l /&gt;&lt;/c&gt;&lt;v&gt;Middle&lt;/v&gt;&lt;/CellStyle&gt;&lt;CellStyle Row=&quot;0&quot; Column=&quot;8&quot;&gt;&lt;c class=&quot;FarPoint.Web.Spread.LabelCellType&quot;&gt;&lt;l /&gt;&lt;/c&gt;&lt;v&gt;Middle&lt;/v&gt;&lt;/CellStyle&gt;&lt;CellStyle Row=&quot;0&quot; Column=&quot;9&quot;&gt;&lt;c class=&quot;FarPoint.Web.Spread.LabelCellType&quot;&gt;&lt;l /&gt;&lt;/c&gt;&lt;v&gt;Middle&lt;/v&gt;&lt;/CellStyle&gt;&lt;CellStyle Row=&quot;0&quot; Column=&quot;10&quot;&gt;&lt;c class=&quot;FarPoint.Web.Spread.LabelCellType&quot;&gt;&lt;l /&gt;&lt;/c&gt;&lt;v&gt;Middle&lt;/v&gt;&lt;/CellStyle&gt;&lt;CellStyle Row=&quot;0&quot; Column=&quot;11&quot;&gt;&lt;c class=&quot;FarPoint.Web.Spread.LabelCellType&quot;&gt;&lt;l /&gt;&lt;/c&gt;&lt;v&gt;Middle&lt;/v&gt;&lt;/CellStyle&gt;&lt;CellStyle Row=&quot;0&quot; Column=&quot;12&quot;&gt;&lt;c class=&quot;FarPoint.Web.Spread.LabelCellType&quot;&gt;&lt;l /&gt;&lt;/c&gt;&lt;v&gt;Middle&lt;/v&gt;&lt;/CellStyle&gt;&lt;CellStyle Row=&quot;0&quot; Column=&quot;13&quot;&gt;&lt;c class=&quot;FarPoint.Web.Spread.LabelCellType&quot;&gt;&lt;l /&gt;&lt;/c&gt;&lt;v&gt;Middle&lt;/v&gt;&lt;/CellStyle&gt;&lt;/CellStyles&gt;&lt;ConditionalFormatCollections /&gt;&lt;/ColumnHeader&gt;&lt;DataArea class=&quot;FarPoint.Web.Spread.Model.DefaultSheetStyleModel&quot; Rows=&quot;3&quot; Columns=&quot;14&quot;&gt;&lt;AltRowCount&gt;2&lt;/AltRowCount&gt;&lt;DefaultStyle class=&quot;FarPoint.Web.Spread.NamedStyle&quot; Parent=&quot;DataAreaDefault&quot; /&gt;&lt;ColumnStyles&gt;&lt;ColumnStyle Index=&quot;0&quot;&gt;&lt;VerticalAlign&gt;Middle&lt;/VerticalAlign&gt;&lt;/ColumnStyle&gt;&lt;ColumnStyle Index=&quot;1&quot;&gt;&lt;VerticalAlign&gt;Middle&lt;/VerticalAlign&gt;&lt;/ColumnStyle&gt;&lt;ColumnStyle Index=&quot;2&quot;&gt;&lt;VerticalAlign&gt;Middle&lt;/VerticalAlign&gt;&lt;/ColumnStyle&gt;&lt;ColumnStyle Index=&quot;3&quot;&gt;&lt;VerticalAlign&gt;Middle&lt;/VerticalAlign&gt;&lt;/ColumnStyle&gt;&lt;ColumnStyle Index=&quot;4&quot;&gt;&lt;VerticalAlign&gt;Middle&lt;/VerticalAlign&gt;&lt;/ColumnStyle&gt;&lt;ColumnStyle Index=&quot;6&quot;&gt;&lt;VerticalAlign&gt;Middle&lt;/VerticalAlign&gt;&lt;/ColumnStyle&gt;&lt;ColumnStyle Index=&quot;7&quot;&gt;&lt;VerticalAlign&gt;Middle&lt;/VerticalAlign&gt;&lt;/ColumnStyle&gt;&lt;ColumnStyle Index=&quot;8&quot;&gt;&lt;VerticalAlign&gt;Middle&lt;/VerticalAlign&gt;&lt;/ColumnStyle&gt;&lt;ColumnStyle Index=&quot;9&quot;&gt;&lt;VerticalAlign&gt;Middle&lt;/VerticalAlign&gt;&lt;/ColumnStyle&gt;&lt;ColumnStyle Index=&quot;10&quot;&gt;&lt;VerticalAlign&gt;Middle&lt;/VerticalAlign&gt;&lt;/ColumnStyle&gt;&lt;ColumnStyle Index=&quot;11&quot;&gt;&lt;VerticalAlign&gt;Middle&lt;/VerticalAlign&gt;&lt;/ColumnStyle&gt;&lt;ColumnStyle Index=&quot;12&quot;&gt;&lt;VerticalAlign&gt;Middle&lt;/VerticalAlign&gt;&lt;/ColumnStyle&gt;&lt;ColumnStyle Index=&quot;13&quot;&gt;&lt;VerticalAlign&gt;Middle&lt;/VerticalAlign&gt;&lt;/ColumnStyle&gt;&lt;/ColumnStyles&gt;&lt;ConditionalFormatCollections /&gt;&lt;/DataArea&gt;&lt;SheetCorner class=&quot;FarPoint.Web.Spread.Model.DefaultSheetStyleModel&quot; Rows=&quot;1&quot; Columns=&quot;1&quot;&gt;&lt;AltRowCount&gt;2&lt;/AltRowCount&gt;&lt;DefaultStyle class=&quot;FarPoint.Web.Spread.NamedStyle&quot; Parent=&quot;CornerDefault&quot;&gt;&lt;Background class=&quot;FarPoint.Web.Spread.Background&quot;&gt;&lt;BackgroundImageUrl&gt;SPREADCLIENTPATH:/img/chbg.gif&lt;/BackgroundImageUrl&gt;&lt;SelectedBackgroundImageUrl&gt;SPREADCLIENTPATH:/img/chm.png&lt;/SelectedBackgroundImageUrl&gt;&lt;/Background&gt;&lt;/DefaultStyle&gt;&lt;ConditionalFormatCollections /&gt;&lt;/SheetCorner&gt;&lt;ColumnFooter class=&quot;FarPoint.Web.Spread.Model.DefaultSheetStyleModel&quot; Rows=&quot;1&quot; Columns=&quot;14&quot;&gt;&lt;AltRowCount&gt;2&lt;/AltRowCount&gt;&lt;DefaultStyle class=&quot;FarPoint.Web.Spread.NamedStyle&quot; Parent=&quot;ColumnFooterDefault&quot; /&gt;&lt;ConditionalFormatCollections /&gt;&lt;/ColumnFooter&gt;&lt;/StyleModels&gt;&lt;MessageRowStyle class=&quot;FarPoint.Web.Spread.Appearance&quot;&gt;&lt;BackColor&gt;LightYellow&lt;/BackColor&gt;&lt;ForeColor&gt;Red&lt;/ForeColor&gt;&lt;/MessageRowStyle&gt;&lt;SheetCornerStyle class=&quot;FarPoint.Web.Spread.NamedStyle&quot; Parent=&quot;CornerDefault&quot;&gt;&lt;Background class=&quot;FarPoint.Web.Spread.Background&quot;&gt;&lt;BackgroundImageUrl&gt;SPREADCLIENTPATH:/img/chbg.gif&lt;/BackgroundImageUrl&gt;&lt;SelectedBackgroundImageUrl&gt;SPREADCLIENTPATH:/img/chm.png&lt;/SelectedBackgroundImageUrl&gt;&lt;/Background&gt;&lt;/SheetCornerStyle&gt;&lt;AllowLoadOnDemand&gt;false&lt;/AllowLoadOnDemand&gt;&lt;LoadRowIncrement &gt;10&lt;/LoadRowIncrement &gt;&lt;LoadInitRowCount &gt;30&lt;/LoadInitRowCount &gt;&lt;AllowVirtualScrollPaging&gt;false&lt;/AllowVirtualScrollPaging&gt;&lt;TopRow&gt;0&lt;/TopRow&gt;&lt;PreviewRowStyle class=&quot;FarPoint.Web.Spread.PreviewRowInfo&quot; /&gt;&lt;/Presentation&gt;&lt;Settings&gt;&lt;Name&gt;Sheet1&lt;/Name&gt;&lt;Categories&gt;&lt;Appearance&gt;&lt;GridLineColor&gt;#d0d7e5&lt;/GridLineColor&gt;&lt;RowHeaderWidth&gt;20&lt;/RowHeaderWidth&gt;&lt;RowHeaderAutoText&gt;Blank&lt;/RowHeaderAutoText&gt;&lt;SelectionBackColor&gt;#eaecf5&lt;/SelectionBackColor&gt;&lt;SelectionBorder class=&quot;FarPoint.Web.Spread.Border&quot; /&gt;&lt;/Appearance&gt;&lt;Behavior&gt;&lt;EditTemplateColumnCount&gt;2&lt;/EditTemplateColumnCount&gt;&lt;SelectionPolicy&gt;Single&lt;/SelectionPolicy&gt;&lt;OperationMode&gt;SingleSelect&lt;/OperationMode&gt;&lt;GroupBarText&gt;グループ化するときには、ここに列名をドラッグします。&lt;/GroupBarText&gt;&lt;/Behavior&gt;&lt;Layout&gt;&lt;RowHeaderColumnCount&gt;1&lt;/RowHeaderColumnCount&gt;&lt;ColumnHeaderRowCount&gt;1&lt;/ColumnHeaderRowCount&gt;&lt;ColumnCount&gt;14&lt;/ColumnCount&gt;&lt;/Layout&gt;&lt;/Categories&gt;&lt;ActiveRow&gt;0&lt;/ActiveRow&gt;&lt;ActiveColumn&gt;0&lt;/ActiveColumn&gt;&lt;ColumnHeaderRowCount&gt;1&lt;/ColumnHeaderRowCount&gt;&lt;ColumnFooterRowCount&gt;1&lt;/ColumnFooterRowCount&gt;&lt;PrintInfo&gt;&lt;Header /&gt;&lt;Footer /&gt;&lt;ZoomFactor&gt;0&lt;/ZoomFactor&gt;&lt;FirstPageNumber&gt;1&lt;/FirstPageNumber&gt;&lt;Orientation&gt;Auto&lt;/Orientation&gt;&lt;PrintType&gt;All&lt;/PrintType&gt;&lt;PageOrder&gt;Auto&lt;/PageOrder&gt;&lt;BestFitCols&gt;False&lt;/BestFitCols&gt;&lt;BestFitRows&gt;False&lt;/BestFitRows&gt;&lt;PageStart&gt;-1&lt;/PageStart&gt;&lt;PageEnd&gt;-1&lt;/PageEnd&gt;&lt;ColStart&gt;-1&lt;/ColStart&gt;&lt;ColEnd&gt;-1&lt;/ColEnd&gt;&lt;RowStart&gt;-1&lt;/RowStart&gt;&lt;RowEnd&gt;-1&lt;/RowEnd&gt;&lt;ShowBorder&gt;True&lt;/ShowBorder&gt;&lt;ShowGrid&gt;True&lt;/ShowGrid&gt;&lt;ShowColor&gt;True&lt;/ShowColor&gt;&lt;ShowColumnHeader&gt;Inherit&lt;/ShowColumnHeader&gt;&lt;ShowRowHeader&gt;Inherit&lt;/ShowRowHeader&gt;&lt;ShowColumnFooter&gt;Inherit&lt;/ShowColumnFooter&gt;&lt;ShowColumnFooterEachPage&gt;True&lt;/ShowColumnFooterEachPage&gt;&lt;ShowTitle&gt;True&lt;/ShowTitle&gt;&lt;ShowSubtitle&gt;True&lt;/ShowSubtitle&gt;&lt;UseMax&gt;True&lt;/UseMax&gt;&lt;UseSmartPrint&gt;False&lt;/UseSmartPrint&gt;&lt;Opacity&gt;255&lt;/Opacity&gt;&lt;PrintNotes&gt;None&lt;/PrintNotes&gt;&lt;Centering&gt;None&lt;/Centering&gt;&lt;RepeatColStart&gt;-1&lt;/RepeatColStart&gt;&lt;RepeatColEnd&gt;-1&lt;/RepeatColEnd&gt;&lt;RepeatRowStart&gt;-1&lt;/RepeatRowStart&gt;&lt;RepeatRowEnd&gt;-1&lt;/RepeatRowEnd&gt;&lt;SmartPrintPagesTall&gt;1&lt;/SmartPrintPagesTall&gt;&lt;SmartPrintPagesWide&gt;1&lt;/SmartPrintPagesWide&gt;&lt;HeaderHeight&gt;-1&lt;/HeaderHeight&gt;&lt;FooterHeight&gt;-1&lt;/FooterHeight&gt;&lt;/PrintInfo&gt;&lt;TitleInfo class=&quot;FarPoint.Web.Spread.TitleInfo&quot;&gt;&lt;Style class=&quot;FarPoint.Web.Spread.StyleInfo&quot;&gt;&lt;BackColor&gt;#e7eff7&lt;/BackColor&gt;&lt;HorizontalAlign&gt;Right&lt;/HorizontalAlign&gt;&lt;/Style&gt;&lt;/TitleInfo&gt;&lt;LayoutTemplate class=&quot;FarPoint.Web.Spread.LayoutTemplate&quot;&gt;&lt;Layout&gt;&lt;ColumnCount&gt;4&lt;/ColumnCount&gt;&lt;RowCount&gt;1&lt;/RowCount&gt;&lt;/Layout&gt;&lt;Data&gt;&lt;LayoutData class=&quot;FarPoint.Web.Spread.Model.DefaultSheetDataModel&quot; rows=&quot;1&quot; columns=&quot;4&quot;&gt;&lt;AutoCalculation&gt;True&lt;/AutoCalculation&gt;&lt;AutoGenerateColumns&gt;True&lt;/AutoGenerateColumns&gt;&lt;ReferenceStyle&gt;A1&lt;/ReferenceStyle&gt;&lt;Iteration&gt;False&lt;/Iteration&gt;&lt;MaximumIterations&gt;1&lt;/MaximumIterations&gt;&lt;MaximumChange&gt;0.001&lt;/MaximumChange&gt;&lt;Cells&gt;&lt;Cell row=&quot;0&quot; column=&quot;0&quot;&gt;&lt;Data type=&quot;System.Int32&quot;&gt;0&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;1&quot;&gt;&lt;Data type=&quot;System.Int32&quot;&gt;1&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;2&quot;&gt;&lt;Data type=&quot;System.Int32&quot;&gt;2&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;3&quot;&gt;&lt;Data type=&quot;System.Int32&quot;&gt;3&lt;/Data&gt;&lt;/Cell&gt;&lt;/Cells&gt;&lt;/LayoutData&gt;&lt;/Data&gt;&lt;AxisModels&gt;&lt;LayoutColumn class=&quot;FarPoint.Web.Spread.Model.DefaultSheetAxisModel&quot; orientation=&quot;Horizontal&quot; count=&quot;4&quot;&gt;&lt;Items&gt;&lt;Item index=&quot;-1&quot;&gt;&lt;SortIndicator&gt;Ascending&lt;/SortIndicator&gt;&lt;/Item&gt;&lt;/Items&gt;&lt;/LayoutColumn&gt;&lt;LayoutRow class=&quot;FarPoint.Web.Spread.Model.DefaultSheetAxisModel&quot; orientation=&quot;Vertical&quot; count=&quot;1&quot;&gt;&lt;Items&gt;&lt;Item index=&quot;-1&quot; /&gt;&lt;/Items&gt;&lt;/LayoutRow&gt;&lt;/AxisModels&gt;&lt;/LayoutTemplate&gt;&lt;LayoutMode&gt;CellLayoutMode&lt;/LayoutMode&gt;&lt;CurrentPageIndex type=&quot;System.Int32&quot;&gt;0&lt;/CurrentPageIndex&gt;&lt;/Settings&gt;&lt;/Sheet&gt;"
                        OperationMode="SingleSelect" RowHeaderAutoText="Blank" RowHeaderWidth="20">
                        <RowHeader AutoText="Blank" Width="20" />
                    </FarPoint:SheetView>
                </Sheets>
                <TitleInfo BackColor="#E7EFF7" ForeColor="" HorizontalAlign="Center" VerticalAlign="NotSet"
                    Font-Size="X-Large" Font-Bold="False" Font-Italic="False" Font-Overline="False"
                    Font-Strikeout="False" Font-Underline="False">
                </TitleInfo>
            </FarPoint:FpSpread>
        </div>
        <div id="btn_part2" class="button_float_right ut0100p01_btn_position">
            <div id="button_part2_close">
                <asp:Button ID="btn_close" TabIndex="25" runat="server" Text="閉じる" OnClientClick="window.close();" />
            </div>
            <div id="button_part2_confirm" class="ut0020p02_btnclear">
                <asp:Button ID="btn_confirm" TabIndex="20" runat="server" Text="確定" OnClientClick="return BukkenCheck();" />
            </div>
        </div>
    </div>
</asp:Content>
